-- GENERATED SPELL FOR [High Priest Talet-Kha] --


function spell0_26073(pUnit, Event) --@Mind Blast,n/a--
pUnit:FullCastSpellOnTarget(15587,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_26073', 1500, 1)
end

function spell1_26073(pUnit, Event) --@Renew,Heal--
pUnit:FullCastSpellOnTarget(11640,pUnit)
pUnit:RegisterEvent('Sorts_26073', 15000, 1)
end

function Sorts_26073(pUnit, Event)
local choix_sorts_26073 = math.random(0, 1)
if choix_sorts_26073 == 0 then
pUnit:RegisterEvent('spell0_26073', 1, 1)
end
if choix_sorts_26073 == 1 then
pUnit:RegisterEvent('spell1_26073', 1, 1)
end
end

function mob26073_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_26073', math.random(1500, 3000), 1)
end

function mob26073_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26073_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26073_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(26073, 1, 'mob26073_Action')
RegisterUnitEvent(26073, 2, 'mob26073_Leave')
RegisterUnitEvent(26073, 3, 'mob26073_Kill')
RegisterUnitEvent(26073, 4, 'mob26073_Die')
